package com.jianggy.observer.listener;

import java.util.EventObject;

public class CustomEvent extends EventObject {
	private Object source;
	
	/**
	 * number of click
	 */
	private int click = 1;

	public CustomEvent(Object source) {
		super(source);
		this.source = source;
	}
	
	public Object getSource() {
		return source;
	}
	
	public int getClick() {
		return click;
	}
	
	public void setClick(int click) {
		this.click = click;
	}

}
